#pragma once
#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<assert.h>

#define N 10
typedef int SQ;

typedef struct SeqList
{
	SQ *arr;
	int size;
	int capacity;
}SL;


void SeqListInit(SL *s1);
void SeqListPrint(SL* s1);
void SeqListCheckcapacity(SL* s1);
void SeqListpushBack(SL *s1, SQ x);
void SeqListpushFront(SL* s1, SQ x);
void SeqListpopBack(SL* s1);
void SeqListpopFront(SL* s1);
void SeqListpushDesignate(SL* s1, int Y, SQ x);
void SeqListpopDesignate(SL* s1, int Y);



